 /*
 * @name: 纠纷单列表
 * @Author: ice
 * @Date: 2021-04-10
 * @Last Modified by: --
 * @Last Modified time: --
 */
<template>
    <div class="disputeIndex">
        <!-- title -->
        <div class="header-title">
            <p class="header-title-text">
                纠纷单列表
            </p>
        </div>
        <!-- header -->
        <div class="header-nav">
            <div class="header-left">
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        订单编号:
                    </p>
                    <el-input
                        v-model="filterData.order_no"
                        placeholder="请输入订单编号"
                        size="small"
                        clearable
                        suffix-icon="el-icon-search"
                        @change="getTableData(1)"
                        @keyup.native.enter="getTableData(1)"
                    />
                </div>
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        投诉编号:
                    </p>
                    <el-input
                        v-model="filterData.dispute_no"
                        placeholder="请输入投诉编号"
                        size="small"
                        clearable
                        suffix-icon="el-icon-search"
                        @change="getTableData(1)"
                        @keyup.native.enter="getTableData(1)"
                    />
                </div>
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        投诉原因:
                    </p>
                    <el-select
                        v-model="filterData.reason"
                        clearable
                        filterable
                        placeholder="请选择"
                        size="small"
                        @change="getTableData(1)"
                    >
                        <el-option
                            v-for="item in resonList"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value"
                        />
                    </el-select>
                </div>
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        投诉状态:
                    </p>
                    <el-select
                        v-model="filterData.status"
                        clearable
                        filterable
                        placeholder="请选择"
                        size="small"
                        @change="getTableData(1)"
                    >
                        <el-option
                            v-for="item in stateList"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value"
                        />
                    </el-select>
                </div>
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        用户信息:
                    </p>
                    <el-input
                        v-model="filterData.user_keyword"
                        placeholder="姓名/手机号/ID"
                        size="small"
                        clearable
                        suffix-icon="el-icon-search"
                        @change="getTableData(1)"
                        @keyup.native.enter="getTableData(1)"
                    />
                </div>
                <div class="header-new-box">
                    <p class="header-new-box-title">
                        商品信息:
                    </p>
                    <el-input
                        v-model="filterData.goods_keyword"
                        placeholder="商品名称/商品编号"
                        size="small"
                        clearable
                        suffix-icon="el-icon-search"
                        @change="getTableData(1)"
                        @keyup.native.enter="getTableData(1)"
                    />
                </div>
                <div class="header-new-box">
                    <span class="header-new-box-title">申请时间:</span>
                    <el-date-picker
                        v-model="filterData.date"
                        type="datetimerange"
                        range-separator="至"
                        start-placeholder="开始日期"
                        end-placeholder="结束日期"
                        size="small"
                        @change="getTableData(1)"
                        :default-time="['00:00:00', '23:59:59']"
                        :style="{width: '350px'}"
                    />
                </div>
                <div class="header-new-box">
                    <el-button
                        type="primary"
                        size="small"
                        @click="getTableData(1)"
                    >
                        搜索
                    </el-button>
                </div>
            </div>
        </div>
        <!-- /header -->

        <!-- table -->
        <div class="tableWrap">
            <!-- 无数据  -->
            <div
                class="tableWrap-no"
                v-if="tableData.length == 0"
            >
                暂无数据
            </div>
            <div
                v-else
                class="orderSelfList"
            >
                <div class="order_header">
                    <div class="order_nav">
                        <div
                            v-for="(title,index) in tableHeader"
                            :key="index"
                            class="order_title"
                            :class="'header'+ index"
                            :style="{
                                width: index == 0 ? '372px' : (index == 1 ? '220px' : 'auto'), flex: index == 0 || index == 1 ? 'none' : '1', paddingLeft: '0px', paddingRight: '0px', textAlign: 'center'
                            }"
                        >
                            {{ title }}
                        </div>
                    </div>
                </div>
                <div class="order_self">
                    <div class="order_wrap">
                        <div
                            v-for="(row,index) in tableData"
                            :key="index"
                            class="order_list"
                        >
                            <!-- 订单信息 -->
                            <div class="order_data">
                                <div class="order_info">
                                    <p class="order_no">
                                        订单编号: {{ row.order_info.order_no ? row.order_info.order_no : '--' }}
                                    </p>
                                    <p class="order_time">
                                        投诉编号: {{ row.dispute_no ? row.dispute_no : '--' }}
                                    </p>
                                    <p class="order_time">
                                        申请时间: {{ row.create_time * 1000 | dateFormat('yyyy/MM/dd HH:mm') }}
                                    </p>
                                </div>
                                <div class="nav-right">
                                    <div
                                        class="order_detail"
                                        @click="fnHandleDetail(row)"
                                    >
                                        查看详情
                                    </div>
                                </div>
                            </div>

                            <!-- 商品数据列表 -->
                            <div class="order_content orderHeight">
                                <div
                                    class="order_side"
                                    data-info="商品信息"
                                    :style="{width: '372px', flex: 'none', alignItems: 'flex-start'}"
                                >
                                    <div
                                        class="order_side_info"
                                    >
                                        <img
                                            :src="row.goods_info.goods_cover"
                                            class="order_cover"
                                        >
                                        <div class="order_product">
                                            <p
                                                v-if="row.goods_info.goods_title"
                                                class="order_title"
                                            >
                                                {{ row.goods_info.goods_title }}
                                            </p>
                                            <p
                                                v-if="row.goods_product_info.spec_list.length > 0"
                                                class="order_spec"
                                            >
                                                {{ row.goods_product_info.spec_list | filterSpec }}
                                            </p>
                                            <p class="order_spec">
                                                {{ row.goods_info.goods_price ? '¥' + row.goods_info.goods_price + '    ' : '' }} {{ row.goods_info.num ? 'x' + row.goods_info.num : '' }}
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <div
                                    class="order_side no-padding"
                                    data-info="用户信息"
                                    :style="{width: '220px', flex: 'none'}"
                                >
                                    <div
                                        class="order_side_info info_clumn"
                                        :style="{height: '132px', paddingLeft: '30px'}"
                                    >
                                        <div class="order_item_list">
                                            <p class="item_title">
                                                姓  名:
                                            </p>
                                            <p
                                                class="item_content"
                                                :style="{lineHeight: '23px'}"
                                            >
                                                {{ row.student_info.true_name ? row.student_info.true_name : '--' }}
                                            </p>
                                        </div>
                                        <div class="order_item_list">
                                            <p class="item_title">
                                                手机号:
                                            </p>
                                            <p class="item_content">
                                                {{ row.student_info.phone ? row.student_info.phone : '--' }}
                                            </p>
                                        </div>
                                        <div class="order_item_list">
                                            <p class="item_title">
                                                ID:
                                            </p>
                                            <p class="item_content">
                                                {{ row.student_info.student_no ? row.student_info.student_no : '--' }}
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <div
                                    class="order_side"
                                    data-info="售后类型"
                                >
                                    <div class="order_side_info">
                                        {{ row.order_info.cancel_apply_type == 1 ? '仅退款' : (row.order_info.cancel_apply_type == 2 ? '退货退款' : (row.order_info.cancel_apply_type == 3 ? '换货' : '')) }}
                                    </div>
                                </div>
                                <div
                                    class="order_side"
                                    data-info="投诉原因"
                                >
                                    <div
                                        class="order_side_info"
                                        :style="{width: '80%', textAlign: 'center', lineHeight: '22px'}"
                                    >
                                        {{ row.reason | filterReson }}
                                    </div>
                                </div>
                                <div
                                    class="order_side"
                                    data-info="拒绝原因"
                                >
                                    <div
                                        class="order_side_info"
                                        :style="{width: '80%', textAlign: 'center', lineHeight: '22px'}"
                                    >
                                        {{ row.order_info.cancel_apply_refuse_reason ? row.order_info.cancel_apply_refuse_reason : '--' }}
                                    </div>
                                </div>
                                <div
                                    class="order_side"
                                    data-info="投诉状态"
                                >
                                    <div
                                        class="order_side_info info_clumn"
                                        :style="{height: '132px', textAlign: 'center', lineHeight: '22px', alignItems: 'center'}"
                                    >
                                        <p
                                            v-if="row.status == 1"
                                            :style="{color: 'rgba(238, 78, 89, 1)'}"
                                        >
                                            发起投诉
                                        </p>
                                        <p
                                            v-else-if="row.status == 2"
                                            :style="{color: 'rgba(255, 142, 57, 1)'}"
                                        >
                                            平台处理中
                                        </p>
                                        <p
                                            v-else-if="row.status == 3"
                                            :style="{color: 'rgba(84, 190, 196, 1)'}"
                                        >
                                            投诉成立
                                        </p>
                                        <p
                                            v-else-if="row.status == -2"
                                            :style="{color: 'rgba(238, 78, 89, 1)'}"
                                        >
                                            驳回投诉
                                        </p>
                                        <p v-else>
                                            --
                                        </p>
                                        <p
                                            v-if="row.hire_deal_expire_time && row.status == 1"
                                            :style="{whiteSpace: 'nowrap'}"
                                        >
                                            待处理: {{ (row.hire_deal_expire_time - TIME) | tempFilter(SELF) }}
                                        </p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- /分页 -->
        <div class="pagination-wrapper clearfixNew">
            <el-pagination
                background
                :current-page.sync="page.now_page"
                :page-size="page.page_size"
                layout="total, prev, pager, next, jumper"
                :total="page.total_count"
                @current-change="getTableData"
            />
        </div>

        <!-- 图片预览 -->
        <img-preview ref="preview" />
    </div>
</template>

<script>
import imgPreview from '@/components/common/img-preview';
import { mapState } from 'vuex';
export default {
    components: {
        imgPreview
    },
    data () {
        return {
            tableHeader: ['商品信息','用户信息','售后类型','投诉原因','拒绝原因','投诉状态'],
            filterData: {
                order_no: '',
                dispute_no: '',
                reason: '',
                status: '',
                user_keyword: '',
                goods_keyword: '',
                start_time: '',
                end_time: '',
                date: []
            },
            resonList: [{ value: '', label: '全部' }, { value: '发货问题', label: '发货问题' }, { value: '物流问题', label: '物流问题' }, { value: '客服问题', label: '客服问题' }, { value: '售后问题', label: '售后问题' }, { value: '产品问题', label: '产品问题' }],
            stateList: [{ value: '', label: '全部' }, { value: 1, label: '发起投诉' }, { value: 2, label: '平台处理中' }, { value: 3, label: '投诉成立' }, { value: -2, label: '驳回投诉' }],
            page: {
                now_page: 1,
                total_count: 0,
                page_size: 0
            },
            tableData: [],
            authResult: {},
            SELF: this,
            TIME: new Date().getTime() / 1000,
            TEMP: 'time'
        };
    },
    filters: {
        specFilter(val) {
            let str = '';

            for (let i in val) {
                str += val[i].value;
                if (i < val.length - 1) {
                    str += ',';
                }
            }
            return str ? str : '--';
        },
        tempFilter(val, SELF) {
            return SELF.fnMinuteFormate(val);
        },
        filterSpec (val) {
            let str = '';

            val.forEach(element => {
                str += element.name + ';' + element.value + ';';
            });

            return str;
        },
        filterReson (val) {
            if(!val) return '--';
            if(val.length <= 20) return val;
            return val.slice(0,20) + '...';
        }
    },
    computed: {
        ...mapState({
            Now_Page: state => state.page.page
        })
    },
    directives: {},
    created(){
        this.$store.commit('header/SET_HEADER ', [
            {title: '商城模块'},
            {title: '订单管理'},
            {title: '纠纷单列表'}
        ]);
    },
    mounted () {
        this.getTableData(this.Now_Page);
    },
    methods: {
        /**
         * 获取表格数据
         */
        getTableData (page) {
            this.$post('/ShopGoodsOrderDispute/getList', {
                page_id: page || this.page.now_page,
                order_no: this.filterData.order_no,
                dispute_no: this.filterData.dispute_no,
                reason: this.filterData.reason,
                status: this.filterData.status,
                user_keyword: this.filterData.user_keyword,
                goods_keyword: this.filterData.goods_keyword,
                start_time: this.filterData.date === null ? '' : (this.filterData.date.length > 0 ? (new Date(this.filterData.date[0]).getTime() / 1000) : ''),
                end_time: this.filterData.date === null ? '' : (this.filterData.date.length > 0 ? (new Date(this.filterData.date[1]).getTime() / 1000) : '')
            }, resp => {
                if (resp.code == 1) {
                    this.$store.commit('page/REST_PAGE');
                    this.tableData = resp.data.list;
                    this.page.now_page = resp.data.page.now_page;
                    this.page.total_count = resp.data.page.total_count;
                    this.page.page_size = resp.data.page.page_size;

                    if(this.tableData.length > 0) {
                        this.setTemp(this.tableData);
                    }
                }
            });
        },

        /**
         * 查看详情
         */
        fnHandleDetail (row) {
            this.$store.commit('page/SET_PAGE', this.page.now_page);
            this.$router.push({
                name: 'disputeDetail',
                query: {
                    dispute_no: row.dispute_no
                }
            });
        },

        /**
         * @description 处理列表倒计时
         */
        setTemp (list) {
            for(let key=0; key<list.length; key++) {
                if(list[key].status == 1 && list[key].hire_deal_expire_time >= 0) {
                    list[key].hire_deal_expire_time -= 1;
                    this.tableData = list;
                }
            }
            clearTimeout(this.TEMP);
            this.TEMP = setTimeout(()=>{
                if(this.tableData.length > 0) {
                    this.setTemp(list);
                } else {
                    clearTimeout(this.TEMP);
                }
            },1000);
        },

        /**
         * 指定范围时间戳转换小时/分钟/秒
         * @param   {second}           Number      //时间戳
         */
        fnMinuteFormate(second){
            const days = Math.floor(second / 86400);
            const hours = Math.floor((second % 86400) / 3600);
            const minutes = Math.floor(((second % 86400) % 3600) / 60);
            const seconds = Math.floor(((second % 86400) % 3600) % 60);
            const forMatDate = {
                days: days,
                hours: hours < 10 ? ('0' + hours) : hours,
                minutes: minutes < 10 ? ('0' + minutes) : minutes,
                seconds: seconds < 10 ? ('0' + seconds) : seconds
            };

            return forMatDate.days + '天' + forMatDate.hours + ':' + forMatDate.minutes + ':' + forMatDate.seconds;
        },

        /**
         * 查看图片
         * @param   {String}    images      //单图预览
         * @param   {Array}     images      //多图预览
         */
        fnShowPreview(images) {
            if(images && Object.prototype.toString.call(images) == '[object String]') {
                this.$refs.preview.show([
                    images
                ]);
            } else if (images && Object.prototype.toString.call(images) == '[object Array]') {
                this.$refs.preview.show(images);
            } else {
                this.$message({
                    type: 'warning',
                    message: '图片类型错误'
                });
            }
        },

        /**
         * 过滤函数
         */
        emptyFormatter(row, column, val) {
            if (!val) return '--';
            return val;
        }
    }
};
</script>

<style lang="less" scoped>
    .disputeIndex {
        background-color: #fff;
        padding: 0px 15px 5px 15px;
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        margin-top: 0 !important;
        height: calc(100vh - 90px);
        .header-title {
            width: 100%;
            height: 68px;
            display: flex;
            align-items: center;
            box-sizing: border-box;
            margin-bottom: 24px;
            border-bottom: 1px #F0F2F5 solid;
            box-sizing: border-box;
            padding: 0 24px 0 7px;;
            justify-content: space-between;
            &-text {
                color: #333333;
                font-size: 20px;
                font-weight: 500;
                position: relative;
                &::before {
                    content: '';
                    width:3px;
                    height:20px;
                    background:rgba(24,144,255,1);
                    position: absolute;
                    left: -8px;
                    top: -1px;
                }
            }
        }
        .header-nav {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
            .header-left, .header-right {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
            }
            .header-new-box {
                display: flex;
                margin-right: 24px;
                align-items: center;
                color: #606266;
                margin-bottom: 10px;
                white-space: nowrap;
                &-title {
                    margin-right: 2px;
                    white-space: nowrap;
                }
            }
        }
        /* 表单 */
        .scope-price {
            width: 50px;
            height: 50px;
        }
        /* 字体高亮 */
        .cursor-font {
            color: rgb(64, 158, 255);
            cursor: pointer;
        }
        /* 分页 */
        .pagination-wrapper {
            padding-top: 10px;
            padding-bottom: 10px;
            .el-pagination {
                float: right;
                padding: 0;
                background-color: transparent;
            }
        }
    }
    /* 排序 */
    .sort-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        .sort-spliter {
            width: 1px;
            height: 12px;
            background: rgba(235, 235, 235, 1);
            margin: 0 10px;
            }
            .btn-sort {
            font-size: 14px;
            line-height: 1;
            color: #ccc;
            &:hover {
                color: #20a0ff;
            }
        }
    }
    .el-button-left {
        margin-left: 40px;
    }
    .el-button-right {
        margin-right: 10px;
    }
    .good-detail {
        display: flex;
        align-items: center;
        width: 240px !important;
        .cover {
            flex-shrink: 0;
            flex-grow: 0;
            width: 60px;
            height: 60px;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            margin-right: 5px;
            cursor: pointer;
        }
        .detail {
            display: flex;
            flex-direction: column;
            flex: 1;
            overflow: hidden;
            .title {
                font-size: 14px;
                color: rgba(51, 51, 51, 1);
                line-height: 20px;
                letter-spacing: 1px;
            }
            .no {
                font-size: 14px;
                font-weight: 400;
                line-height: 17px;
                margin-top: 2px;
                text-align: left;
                color: #333333;
            }
            .type {
                font-size: 12px;
                font-weight: 400;
                color: rgba(96, 105, 114, 1);
                line-height: 17px;
                margin-top: 2px;
            }
        }
    }
    .dialog-footer {
        display: flex;
        justify-content: center;
    }
    //表格
    .tableWrap {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-y: auto;
        &-no {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            border: 1px #EBEEF5 solid;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #999999;
        }
        .orderSelfList {
            width: 100%;
            flex: 1;
            overflow: hidden;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            // nav
            .order_header {
                width: 100%;
                height: 44px;
                background: #F2F2F2;
                overflow: auto;
                &::-webkit-scrollbar {
                    width: 0;
                    height: 0;
                }
                .order_nav {
                    width: auto;
                    height: 44px;
                    display: flex;
                    align-items: center;
                    box-sizing: border-box;
                    .order_title {
                        color: #333;
                        font-size: 14px;
                        font-weight: 500;
                        box-sizing: border-box;
                        white-space: nowrap;
                        // border-left: 1px red solid;
                    }
                }
            }
            // table
            .order_self {
                width: 100%;
                flex: 1;
                display: flex;
                flex-direction: column;
                overflow: auto;
                // border: 1px red solid;
                &::-webkit-scrollbar {
                    width: 3px;
                    height: 3px;
                }
                .order_wrap {
                    flex: 1;
                    width: 100%;
                    .order_list {
                        background: #FBFBFB;
                        border-radius: 2px;
                        border: 1px #EEEEEE solid;
                        border-bottom: none;
                        margin-top: 13px;
                        // 订单信息
                        .order_data {
                            width: calc(100% - 48px);
                            height: 44px;
                            margin-left: 24px;
                            margin-right: 24px;
                            box-sizing: border-box;
                            border-bottom: 1px #EEEEEE solid;
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            .order_info {
                                display: flex;
                                align-items: center;
                                .order_category {
                                    width: 64px;
                                    height: 20px;
                                    text-align: center;
                                    line-height: 20px;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    color: #F2F2F2;
                                    border-radius: 2px;
                                    background: #FF8E39;
                                    font-size: 12px;
                                    margin-right: 12px;
                                }
                                .order_no {
                                    color: #333;
                                    font-size: 12px;
                                }
                                .order_time {
                                    color: #333;
                                    font-size: 12px;
                                    margin-left: 32px;
                                }
                            }
                            .nav-right {
                                display: flex;
                                align-items: center;
                                .order_detail {
                                    width: 68px;
                                    height: 26px;
                                    cursor: pointer;
                                    text-align: center;
                                    line-height: 26px;
                                    border-radius: 13px;
                                    color: #333;
                                    font-weight: 500;
                                    font-size: 12px;
                                    border: 1px #D7D7D7 solid;
                                }
                                .border {
                                    border: 1px #20A0FF solid;
                                    color: #20A0FF;
                                }
                            }
                        }

                        //备注
                        .order_remark {
                            width: calc(100% - 48px);
                            height: 44px;
                            margin-left: 24px;
                            margin-right: 24px;
                            box-sizing: border-box;
                            border-top: 1px #EEEEEE solid;
                            display: flex;
                            align-items: center;
                            color: #333;
                            font-size: 12px;
                            font-weight: 500;
                            &>p {
                                color: #333;
                                font-size: 12px;
                                font-weight: 400;
                                margin-left: 5px;
                            }
                        }

                        //内容
                        .order_content {
                            display: flex;
                            align-items: center;
                            height: 100%;
                            .order_view {
                                margin: 16px 0;
                                display: flex;
                                align-items: center;
                                height: 100px;
                                box-sizing: border-box;
                                padding-left: 40px;
                                border-right: 1px #EEEEEE solid;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                color: #333333;
                                font-weight: 500;
                                flex: 1;
                                padding: 0 40px;
                                box-sizing: border-box;
                                min-width: 141px;
                                .order_cloum {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    .order_cloum_name {
                                        color: #333;
                                        font-size: 14px;
                                        font-weight: 500;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        width: 120px;
                                    }
                                    .order_cloum_phone {
                                        color: #333;
                                        font-size: 14px;
                                        font-weight: 500;
                                        margin-top: 10px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        width: 120px;
                                    }
                                    .order_money {
                                        color: #EE4E59;
                                        font-size: 14px;
                                        font-weight: 500;
                                    }
                                    .order_freight {
                                        color: #333333;
                                        font-size: 14px;
                                        margin-top: 10px;
                                    }
                                    .order_cloumn_button {
                                        width: 100px;
                                        height: 30px;
                                        color: #ffffff;
                                        text-align: center;
                                        line-height: 30px;
                                        font-size: 12px;
                                        margin-top: 12px;
                                        cursor: pointer;
                                        background: #20A0FF;
                                        border-radius: 15px;
                                    }
                                }
                                .order_cover {
                                    width: 100px;
                                    height: 100px;
                                    margin-right: 10px;
                                }
                                .order_product {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                    .order_title {
                                        width: 198px;
                                        color: #333;
                                        font-size: 14px;
                                        font-weight: 500;
                                        line-height: 20px;
                                        overflow : hidden;
                                        text-overflow: ellipsis;
                                        display: -webkit-box;
                                        -webkit-line-clamp: 2;
                                        -webkit-box-orient: vertical;
                                        margin-bottom: 19px;
                                        white-space: normal;
                                    }
                                    .order_spec {
                                        height: 16px;
                                        width: 198px;
                                        line-height: 16px;
                                        color: #666;
                                        font-size: 12px;
                                        white-space: nowrap;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                    }
                                }
                            }
                            .order_side {
                                display: flex;
                                flex-direction: column;
                                flex: 1;
                                align-items: center;
                                border-right: 1px #EEEEEE solid;
                                border-bottom: 1px #EEEEEE solid;
                                height: 100%;
                                justify-content: center;
                                // padding: 0 40px;
                                .order_side_info_fatch {
                                    width: 100%;
                                    box-sizing: border-box;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    flex-direction: column;
                                }
                                .order_side_bottom {
                                    border-bottom: 1px #EEEEEE solid;
                                    .order_side_name {
                                        color: #333;
                                        font-size: 14px;
                                        font-weight: 500;
                                        // width: 150px;
                                        line-height: 22px;
                                        text-align: center;
                                        overflow: hidden;
                                    }
                                    .order_side_phone {
                                        color: #333;
                                        font-size: 14px;
                                        font-weight: 500;
                                        margin-top: 10px;
                                    }
                                }
                                .order_side_name {
                                    color: #333;
                                    font-size: 14px;
                                    // width: 150px;
                                    line-height: 22px;
                                    text-align: center;
                                    overflow: hidden;
                                    padding: 0 15px;
                                }
                                .order_side_phone {
                                    color: #333;
                                    font-size: 14px;
                                    margin-top: 5px;
                                }
                                .order_side_info {
                                    width: 100%;
                                    display: flex;
                                    height: 132px;
                                    align-items: center;
                                    justify-content: center;
                                    box-sizing: border-box;
                                    font-weight: 400;
                                    .order_cover {
                                        width: 100px;
                                        height: 100px;
                                        margin-right: 10px;
                                    }
                                    .order_product {
                                        display: flex;
                                        flex-direction: column;
                                        align-items: center;
                                        .order_title {
                                            width: 222px;
                                            color: #333;
                                            font-size: 14px;
                                            font-weight: 500;
                                            line-height: 20px;
                                            overflow : hidden;
                                            text-overflow: ellipsis;
                                            display: -webkit-box;
                                            -webkit-line-clamp: 2;
                                            -webkit-box-orient: vertical;
                                            margin-bottom: 19px;
                                            white-space: normal;
                                            padding-right: 24px;
                                        }
                                        .order_spec {
                                            height: 16px;
                                            width: 222px;
                                            line-height: 16px;
                                            color: #666;
                                            font-size: 12px;
                                            white-space: nowrap;
                                            overflow: hidden;
                                            text-overflow: ellipsis;
                                            padding-right: 24px;
                                        }
                                    }
                                }
                                .info_clumn {
                                    flex-direction: column;
                                    height: 100%;
                                    justify-content: center;
                                    align-items: flex-start;
                                    padding-left: 10px;
                                    .order_item_list {
                                        display: flex;
                                        align-items: center;
                                        margin-bottom: 10px;
                                        .item_title {
                                            color: rgba(51, 51, 51, 1);
                                            font-size: 14px;
                                            margin-right: 8px;
                                            white-space: nowrap;
                                        }
                                        .item_content {
                                            color: rgba(51, 51, 51, 1);
                                            font-size: 14px;
                                        }
                                    }
                                }
                                .order_cloum {
                                    display: flex;
                                    flex-direction: column;
                                    align-items: center;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    .order_cloumn_button {
                                        width: 100px;
                                        height: 30px;
                                        color: #ffffff;
                                        text-align: center;
                                        line-height: 30px;
                                        font-size: 12px;
                                        margin-top: 12px;
                                        cursor: pointer;
                                        background: #20A0FF;
                                        border-radius: 15px;
                                    }
                                }
                                .order_side_info_fatch:last-child .order_side_info:last-child {
                                    border-bottom: none;
                                }
                                .order_side_bottom:last-child {
                                    border-bottom: none;
                                }
                            }
                            .no-padding {
                                padding: 0;
                            }
                        }
                    }
                }
            }
        }
    }
</style>
<style lang="less">
    .disputeIndex{
        .el-table__body-wrapper .el-table__body .el-table__row td {
            border-right: none;
        }
        .el-table__header-wrapper .el-table__header .has-gutter tr th {
            border-right: none;
        }
        .el-table .el-table_1_column_6  .cell {
            position: relative;
        }
        .el-range-editor--small .el-range-separator{
            padding: 0 1px !important;
        }
        .el-dialog__body {
            padding-bottom: 10px;
        }
        .el-dialog__header {
            padding-top: 10px;
            box-shadow:0px 1px 0px 0px rgba(233,233,233,1);
            display: flex;
            align-items: center;
            background: #FAFAFA;
            border-radius: 4px 4px 0 0;
            .el-dialog__title {
                font-weight: 500;
                color: #333;
                font-size: 14px;
            }
            .el-icon-close:before {
                color: rgb(194,194,194);
                font-size: 17px;
                font-weight: bold;
            }
            .el-dialog__headerbtn {
                top: 14px;
            }
        }
    }
</style>